﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucMenuParrent.ascx.cs"
    Inherits="Admin_ucControl_ucMenuParrent" %>
<div id="tabledata" class="section">
    <h2 class="ico_mug">
        LIST MENU PARRENT</h2>
    <table>
        <tr>
            <td style="width: 500px">
                <asp:GridView ID="grdMenuParrent" runat="server" CssClass="yui" AutoGenerateColumns="False"
                    EmptyDataText="No Menu" Width="100%" CellPadding="4" BackColor="White" BorderColor="#CC9966"
                    BorderStyle="None" BorderWidth="1px" AllowPaging="True" PageSize="15">
                    <RowStyle BackColor="White" ForeColor="#330099" />
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="IDCateParrent" DataTextField="IDCateParrent"
                            HeaderText="IDCateParrent" DataNavigateUrlFormatString="~/Admin/MenuParrent.aspx?id={0}">
                            <ItemStyle ForeColor="Blue" Width="80px" HorizontalAlign="Center" />
                        </asp:HyperLinkField>
                        <asp:BoundField HeaderText="Menu Parrent" DataField="CategoryParrName" ItemStyle-HorizontalAlign="Center"/>
                    </Columns>
                </asp:GridView>
            </td>
            <td valign="top">
                <table>
                    <tr>
                        <td>
                            Menu Parrent Name :
                        </td>
                        <td>
                            <asp:TextBox ID="txtMenuParrent" runat="server" Width="200px" Height="25px" ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                ControlToValidate="txtMenuParrent" ValidationGroup="save"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" Text="SAVE" ValidationGroup="save" 
                                Style="height: 26px" onclick="btnSave_Click"  />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
